package com.fengr.basic.query;

import lombok.Data;

@Data
public class BasicQuery {
    private Integer localpage = 1;
    private Integer pagesize = 5;
    private String keyword;

    public Integer getStart() {
        return (this.localpage - 1) * this.pagesize;
    }
}